package qp.src.app.server;


public class SubDataBean {

  private Integer id;

  private Integer version;
  private String name;
  private String lastName;



  public Integer getId() {
    return id;
  }
  public void setId(Integer id) {
    this.id = id;
  }
  public Integer getVersion() {
    return version;
  }
  public void setVersion(Integer version) {
    this.version = version;
  }
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public String getLastName() {
    return lastName;
  }
  public void setLastName(String lastName) {
    this.lastName = lastName;
  }

  public static SubDataBean findSubDataBean(Integer id) {
    return EntityService.findSubDataBean(id);
  }


  public void copyFrom(SubDataBean subDataBean) {
    id = subDataBean.getId();
    version = subDataBean.getVersion();
    name = subDataBean.getName();
    lastName = subDataBean.getLastName();
  }





}
